<script setup lang="ts">
import {useRouter} from"vue-router"
const router=useRouter()
const go=()=>{
  router.push("/login")
}
</script>

<template>
    <div>
      我的
      <button @click="go">去登陆</button>
    </div>
</template>

<style scoped>

</style>